<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title></title>
<link rel="icon" href="/img/favicon.ico"/>
{{# if showTests}}
  <link rel="stylesheet" href="/vendor/mocha.css"/>
{{/if}}
<link rel="stylesheet" href="/css/bootstrap.min.css"/>
<link rel="stylesheet" href="/css/bootstrap-theme.min.css"/>
<script src="/vendor/jquery.js"></script>
</head>
<body>

 <header>
   <h1>{{title}}</h1>
 </header>

{{{body}}}

{{# if showTests}}
  <div id="mocha"></div>
   <script src="/vendor/mocha.js"></script>
   <script src="/vendor/chai.js"></script>
   <script>
     mocha.ui('tdd');
    var assert = chai.assert;
   </script>
  <script src="/qa/tests-global.js"></script>
   {{#if pageTestScript}}
    <script src="{{pageTestScript}}"></script>
   {{/if}}
  <script>mocha.run();</script>
{{/if}}
</body>
</html>
